package com.nsl.my_youlai.bbu2.model.bo.bbu;

import lombok.Data;

@Data
public class BbuIntIndex {
    private int frameCounter=0;
    private int funCounter=0;
    private int powerBoardCounter=0;
    private int controlBoardCounter=0;
    private int baseBoardCounter=0;

    private int intIndex;


    public BbuIntIndex(int intIndex){
        this.frameCounter=intIndex/10000;
        this.funCounter=(intIndex%10000)/1000;
        this.powerBoardCounter=(intIndex%1000)/100;
        this.controlBoardCounter =(intIndex%100)/10;
        this.baseBoardCounter=intIndex%10;
        this.intIndex=intIndex;
    }



}
